package com.classtype.rtti.demo4;

public class AnonymousA {

	public static A4 makeA() {
		return new A4() {

			@Override
			public void f() {
				System.out.println("AnonymousA.F()被调用");
			}

			public void g() {
				System.out.println("AnonymousA.g()被调用");
			}

			protected void v() {
				System.out.println("AnonymousA.v()被调用");
			}

			private void w() {
				System.out.println("AnonymousA.w()被调用");
			}

		};
	}

}
